import json

from flask import request


def jsonGet(request,name):
    data = request.get_data()
    data = json.loads(data)
    return data[str(name)]